package com.wp.design.itractor;

import java.util.ArrayList;
import java.util.List;

public class CourseAggregateImel implements CourseAggregate {
	private List<Course> list;

	public CourseAggregateImel() {
		list = new ArrayList<Course>();
	}

	public void add(Course course) {
		list.add(course);
	}

	public void remove(Course course) {
		list.remove(course);
	}

	public CourseItaractor getItaractor() {
		return new CourseItaractor(list);
	}
}
